/*
 * Copyright (c) 2016- 2020 qolome.com Inc. All Rights Reserved.
 * ProjectName: qolome-knowledge
 * FileName: AddInterpreter.java
 * Author: jiangfeng@qolome.com
 * Date: 2020/3/23 下午4:37
 * LastModified: 2020/03/23 16:37:23
 */

package com.qolome.knowledge.design.pattern.interpreter.calculator;

/**
 * @author Qolome
 * @version V1.0
 * @Description 乘法解释器
 * @date 2020年 03月23日 16:37:09
 */
public class DivisionInterpreter extends Interpreter{


    public DivisionInterpreter(IArithmeticInterpreter left, IArithmeticInterpreter right){
        super(left, right);
    }

    @Override
    public int interpreter() {
        return this.left.interpreter()/this.right.interpreter();

    }


}
